package cn.sylinx.horm.spring.boot;

import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;
import org.springframework.lang.NonNull;

class SqlClientUseSpringCondition implements Condition {

    @Override
    public boolean matches(@NonNull ConditionContext context,@NonNull AnnotatedTypeMetadata metadata) {
        return !new SqlClientUseNativeCondition().matches(context, metadata);
    }
}